package com.cloudkinto.service.ft;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloudkinto.common.web.PageResult;
import com.cloudkinto.common.web.SingleResult;
import com.cloudkinto.entity.FreightFarawaySurchargeDo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 物流费-偏远附加费 service接口
 * </p>
 *
 * @author hua
 * @since 2024-11-11
 */
public interface FreightFarawaySurchargeService extends IService<FreightFarawaySurchargeDo> {

    SingleResult addInit();

    Object add(Object req, Long userId);

    SingleResult updateInit(Long id);

    Object update(Object updateVo, Long userId);

    int delete(Long id, Long userId);

    Object detail(Long id);

    SingleResult pageInit();

    List<Object> getList(Map<String, String> map);

    PageResult getListPage(Map<String, String> map);

    List<FreightFarawaySurchargeDo> getFarawaySc(String type, Long freightId);
}
